{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}

{% block title %}语音识别模型基准测试系统{% endblock %}

{% block page_content %}
<div class="page-header">
    <img class="img-rounded profile-thumbnail" src="{{ user.gravatar(size=256) }}">
    <div class="profile-header">
    <h1>{{ user.name }}</h1>
    {% if user.b_admin %}<p>管理员</p>{% endif %}
    {% if user.note_name %}<p>备注：{{ user.note_name }}</p>{% endif %}
    <p>创建于{{ moment(user.create_time).format('L') }}，最近活动于{{ moment(user.last_seen).fromNow() }}</p>
    <p><a class="btn btn-default" href="{{ url_for('.user_edit',id=user.id) }}">编辑账户资料</a> <a class="btn btn-default" href="{{ url_for('.user_delete',id=user.id) }}">注销账户</a></p>
    </div>
</div>

{% endblock %}